<?php
/**
 * Created by PhpStorm.
 * User: lx
 * Date: 2020/1/6
 * Time: 15:04
 */

namespace app\Validate;


class CityValidate extends RequestValidate
{
    protected function rulesList()
    {
        switch ($this->action) {
            case 'getProvince':
                return [
                    'id' => 'require',
                ];
                break;
            case 'getCity':
                return [
                    'id' => 'require',
                ];
                break;
            case 'getDistrict':
                return [
                    'id' => 'require',
                ];
                break;

        }
    }
}